home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
lang
/
SmallEiffel.lha
/
SmallEiffel
/
misc
/
benchmarks
/
gc
/
LkRORnd
/
bench.e
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-12-22
|
453 b
|
37 lines
class BENCH
creation make
feature
array_int: ARRAY[INTEGER];
make is
local
random: STD_RAND;
size: INTEGER;
i: INTEGER;
do
!!random.with_seed(74363);
from
i := 150;
until
i = 0
loop
from
size := 0
until
size = 5000
loop
!!array_int.make(0,random.last_integer(5000));
random.next;
size := size + 1
end
i := i - 1
end
end
end